package com.by.service.impl;

import com.by.bean.Category;
import com.by.common.crud.BaseServiceImpl;
import com.by.mapper.CategoryMapper;
import com.by.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/2/19  11:41
 * @description
 * @since jdk11
 */
@Service
public class CategoryServiceImpl extends BaseServiceImpl<Category, CategoryMapper> implements CategoryService {
    @Autowired
    CategoryMapper categoryMapper;
    @Override
    public List query() {
       return categoryMapper.query();
    }
}
